cmake_minimum_required(VERSION 3.0)

project(parse_Xml)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -std=c++11")
set(CMAKE_BUILD_TYPE Debug)

# PROJECT_SOURCE_DIR:当前工程目录下，如果没有install则创建。
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/install)

set(INALL
    ./src/
)
include_directories(${INALL})

set(SRCALL 
    src/Xml.cpp
    src/Parser.cpp
)

add_executable(${PROJECT_NAME} main.cpp ${SRCALL})